package com.ruoyi.wechat.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 微信用户积分记录对象 wechat_user_points_record
 *
 * @author KevenPotter
 * @date 2024-07-17 10:06:02
 */
@Data
@Accessors(chain = true)
public class WechatUserPointsRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /*主键编号*/
    private Long id;
    /*微信用户编号*/
    @Excel(name = "微信用户编号")
    private Long userId;
    /*派送前积分*/
    @Excel(name = "派送前积分")
    private Integer beforePoints;
    /*派送积分*/
    @Excel(name = "派送积分")
    private Integer points;
    /*派送后积分*/
    @Excel(name = "派送后积分")
    private Integer afterPoints;
    /*增减类型(1.增加 2.减少)*/
    @Excel(name = "增减类型")
    private String type;
    /*描述*/
    @Excel(name = "描述")
    private String desc;
    /*创建者*/
    private Long createBy;
    /*创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*自定义属性*/
    private String userName;
    private String createByName;

}
